# -*- coding: utf-8 -*-

import scrapy

# 岗位列表
class jobList(scrapy.Item):
    station = scrapy.Field()
    r_jobid = scrapy.Field() # 51job id
    job_detail_url = scrapy.Field()
    company = scrapy.Field()
    address = scrapy.Field()
    salary = scrapy.Field()
    release_time = scrapy.Field()
    page = scrapy.Field()

# 岗位详情
class jobDetail(scrapy.Item):
    station = scrapy.Field()
    company = scrapy.Field()
    r_jobid = scrapy.Field() # 本地mysql jobid
    # msg_1 = scrapy.Field()

    address = scrapy.Field()
    experience = scrapy.Field()
    xueli = scrapy.Field()
    people_num = scrapy.Field() # 招聘人数
    release_time = scrapy.Field()

    tags = scrapy.Field()
    job_info = scrapy.Field()
    contact_way = scrapy.Field() # 联系方式
    company_info = scrapy.Field()

    # str = '广州-天河区  |  1年经验  |  大专  |  招若干人  |  08-07发布  |  计算机科学与技术 计算机网络'
    # station = scrapy.Field()
    # l_jobid = scrapy.Field() # 本地mysql jobid
    # address = scrapy.Field()
    # experience = scrapy.Field()
    # xueli = scrapy.Field()
    # people_num = scrapy.Field() # 招聘人数
    # release_time = scrapy.Field()
    # tags = scrapy.Field()
    # job_info = scrapy.Field()
    # contact_way = scrapy.Field() # 联系方式
    # company_info = scrapy.Field()
